import pymysql
db = pymysql.connect("172.16.40.70","root","root","zhuangefang")
cursor = db.cursor()
cursor.execute("select * from hj_user limit 1")
data = cursor.fetchone()
print(data)
db.close()